package lesson.mytransformstream;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;

public class CovertedDemo1 {
    public static void main(String[] args) throws IOException {
        InputStreamReader isr = new InputStreamReader(new FileInputStream("Day12\\src\\lesson\\myicharstream\\d.txt"));

        int ch;
        while ((ch = isr.read()) != -1){
            System.out.println((char) ch);
        }
        isr.close();
    }
}
